package com.ems.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ems.vo.BaseVo;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * PCS故障字
 * </p>
 *
 * @author WuZH
 * @since 2024-04-23
 */
@Data
@TableName("pcs_alarm_bit_info")
@ApiModel(value = "PcsAlarmBitEntity对象", description = "PCS故障字")
public class PcsAlarmBitEntity extends BaseVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    @ApiModelProperty("故障码")
    @TableField("alarmCode")
    private String alarmCode;

    @ApiModelProperty("故障类型：1：硬件故障字1；2：硬件故障字2；3：电网故障字；4：母线故障字；5：交流电容故障字；6：系统故障字；7：开关故障字；8：其他故障字")
    @TableField("status")
    private Integer status;

    @ApiModelProperty("故障字的值，存入十进制，展示时根据二进制位进行故障分析")
    @TableField("alarmValue")
    private String alarmValue;

    @ApiModelProperty("设备地址")
    @TableField("deviceAddress")
    private String deviceAddress;

    @TableField("createTime")
    private Date createTime;

    @TableField("isUsed")
    private Integer isUsed;


}
